www.gusucode.com > VC++ 新手写的简单客房管理系统源码程序 > VC++ 新手写的简单客房管理系统源码程序/code/tot/totDoc.cpp
// totDoc.cpp : implementation of the CTotDoc class // Download by http://www.NewXing.com #include "stdafx.h" #include "tot.h" #include "totDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CTotDoc IMPLEMENT_DYNCREATE(CTotDoc, CDocument) BEGIN_MESSAGE_MAP(CTotDoc, CDocument) //{{AFX_MSG_MAP(CTotDoc) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CTotDoc construction/destruction CTotDoc::CTotDoc() { // TODO: add one-time construction code here } CTotDoc::~CTotDoc() { } BOOL CTotDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CTotDoc serialization void CTotDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CTotDoc diagnostics #ifdef _DEBUG void CTotDoc::AssertValid() const { CDocument::AssertValid(); } void CTotDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CTotDoc commands